﻿using SmartWMS.Domain.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Domain.WarehouseManage
{
    /// <summary>
    /// 移库表
    /// </summary>
    public class Relocation : KeyEntity
    {
        /// <summary>
        /// 移库单号
        /// </summary>
        [MaxLength(30)]
        public string? RelocationCode { get; set; }

        /// <summary>
        /// 移库单类型
        /// </summary>
        [MaxLength(30)]
        public string? RelocationType { get; set; }

        /// <summary>
        /// 审核状态
        /// </summary>
        [MaxLength(20)]
        public int State { get; set; }

        /// <summary>
        /// 审核人
        /// </summary>
        [MaxLength(20)]
        public string? Reviewer { get; set; }

        /// <summary>
        /// 审核意见
        /// </summary>
        [MaxLength(20)]
        public string? Opinion { get; set; }

        /// <summary>
        /// 审核时间
        /// </summary>
        [MaxLength(30)]
        public DateTime Audittime { get; set; }

        /// <summary>
        /// 制单人
        /// </summary>
        public string? Creator { get; set; }

        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime CreatorTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remarks { get; set; }
        
    }
}
